#ifndef _IN_SDK_SPK_CTRL_H_
#define _IN_SDK_SPK_CTRL_H_

#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/vfs.h>
#include "InCommon.h"
#include "SdkHardware.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef enum
{
    SPEAKER_UNKNOW  = 0,
    SPEAKER_USING   = 1,
    SPEAKER_CLOSE   = 2,
    SPEAKER_ALWAYS_CLOSE   = 3,
}EnComSpeakerState;

void Ext_InSdkSpkCtrl_CntAdd(void);
void Ext_InSdkSpkCtrl_CntMinus(void);
void Ext_InSdkSpkCtrl_Using(void);
Com_void Ext_InSdkSpkCtrl_Init(Com_void);
void Ext_InSdkSpkCtrl_SetMode(Com_s32 mode);

#ifdef __cplusplus
}
#endif

#endif
